package org.zerg.service;

import java.util.List;

import org.zerg.dto.Page;
import org.zerg.entity.Order;
import org.zerg.entity.OrderProducts;

public interface OrderService {

	//添加订单
	String insertOrder(String token,List<OrderProducts> params);
	
	//根据编号获取订单
	Order getOrder(String no);
	
	//根据id获取订单
	Order getOrderById(int id);
	
	//分页获取订单
	List<Order> getOrderPage(String page,String token);

	List<Order> getOrderAll(int page);

	Page pageMessage(int page);

	void setStatus(int classId, int id);

}
